<?php
 /*
  * @author Luong Trong Hieu
  *
 */
?>

<div id="heading">
<?php
echo $this->title;
?>
    <br />
</div>

<?php
if($this->id)
{
    echo "Username: $this->username<br />";
    echo "Fullname: $this->fullname<br />";
    echo "Year of Birth: $this->byear<br />";
    if($this->sex == 1)
        echo "Sex: Male<br />";
    else
        echo "Sex: Female<br />";
    echo "Emai: $this->email<br />";
    echo "Address: $this->address<br />";
    //echo "Status: $this->status<br />" ;
    echo "<hr>";
/*
?>
<a href="<?php echo $this->url(array('controller'=>'account',
      'action'=>'edit', 'id'=>$this->id));?>">Edit</a> |
<a href="<?php echo $this->url(array('controller'=>'account',
        'action'=> 'delete', 'id' =>$this->id)); ?>">Delete</a>
<?php
 * 
 */
}
else
    echo $this->message;
?>